

// import { a, addA, reduceA, doubleA } from "./m1.js";
// import { b, addB, reduceB, doubleB } from "./m2.js";

// var c = a + b;

// export { a, addA, reduceA, doubleA, b, addB, reduceB, doubleB };



export { a, addA, reduceA, doubleA } from "./m1.js";
export { b, addB, reduceB, doubleB } from "./m2.js";

// 需要注意的是，写成一行以后，foo和bar实际上并没有被导入当前模块，只是相当于对外转发了这两个接口，导致当前模块不能直接使用a和b

// console.log(a, b);   //报错
// export var c = a + b;
